package net.hn.hnms.biz.emgcy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.hn.hnms.biz.emgcy.domain.ExpertPo;
import net.hn.hnms.biz.emgcy.domain.dto.ExpertDto;
import net.hn.hnms.biz.emgcy.domain.vo.ExpertVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface ExpertService extends IService<ExpertPo> {
    ResponsePage<ExpertVo> pageList(PageQuery pageQuery, ExpertDto expertDto);

    Boolean add(ExpertPo expertPo);

    Boolean update(ExpertPo expertPo);

    Boolean delete(Long id);

    void export(HttpServletResponse httpServletResponse) throws IOException;
}
